package com.hdaccp;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {
    public static void main(String[] args) throws Exception{
        //
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("consumer.xml") ;
        UserServiceConsumer userService = (UserServiceConsumer) applicationContext.getBean("userServiceConsumer") ;
        userService.showSave();
        System.in.read();
    }
}
